package com.snap.vseries.chart;

import com.github.mikephil.charting.data.Entry;
import com.github.mikephil.charting.data.LineDataSet;

import java.util.ArrayList;
import java.util.List;

public class PointLineDataSet extends LineDataSet {

    private List<Entry> extraPoint = new ArrayList<>();

    public PointLineDataSet(List<Entry> yVals, String label) {
        super(yVals, label);
    }

    public void addPoint(Entry entry) {
        extraPoint.add(entry);
    }

    public List<Entry> getExtraPoint() {
        return extraPoint;
    }

    public void clearPoint() {
        extraPoint.clear();
    }
}